package com.ruoyi.project.system.tatic.mapper;

import java.util.List;
import com.ruoyi.project.system.tatic.domain.TChannelPromotionRepeatTatic;
import com.ruoyi.project.system.tatic.domain.req.FindChannelPromotionRepeatTaticReq;
import com.ruoyi.project.system.tatic.domain.resp.FindChannelPromotionRepeatTaticResp;

/**
 * 渠道推广资源重复率统计Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
public interface TChannelPromotionRepeatTaticMapper 
{
    /**
     * 查询渠道推广资源重复率统计
     * 
     * @param id 渠道推广资源重复率统计主键
     * @return 渠道推广资源重复率统计
     */
    public TChannelPromotionRepeatTatic selectTChannelPromotionRepeatTaticById(Long id);

    /**
     * 查询渠道推广资源重复率统计列表
     * 
     * @param tChannelPromotionRepeatTatic 渠道推广资源重复率统计
     * @return 渠道推广资源重复率统计集合
     */
    public List<TChannelPromotionRepeatTatic> selectTChannelPromotionRepeatTaticList(TChannelPromotionRepeatTatic tChannelPromotionRepeatTatic);

    /**
     * 新增渠道推广资源重复率统计
     * 
     * @param tChannelPromotionRepeatTatic 渠道推广资源重复率统计
     * @return 结果
     */
    public int insertTChannelPromotionRepeatTatic(TChannelPromotionRepeatTatic tChannelPromotionRepeatTatic);

    /**
     * 修改渠道推广资源重复率统计
     * 
     * @param tChannelPromotionRepeatTatic 渠道推广资源重复率统计
     * @return 结果
     */
    public int updateTChannelPromotionRepeatTatic(TChannelPromotionRepeatTatic tChannelPromotionRepeatTatic);

    /**
     * 删除渠道推广资源重复率统计
     * 
     * @param id 渠道推广资源重复率统计主键
     * @return 结果
     */
    public int deleteTChannelPromotionRepeatTaticById(Long id);

    /**
     * 批量删除渠道推广资源重复率统计
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTChannelPromotionRepeatTaticByIds(String[] ids);

    /**
     * 渠道统计
     * @param req
     * @return
     */
   List<FindChannelPromotionRepeatTaticResp> findChannelPromotionRepeatTatic(FindChannelPromotionRepeatTaticReq req);

    /**
     * 获取所有渠道
     * @return
     */
    List<String> findChannel();
}
